package com.example.administrator.shzs.db;

import org.xutils.db.annotation.Column;
import org.xutils.db.annotation.Table;

/**
 * 购物车商品数据库字段列表
 */
@Table(name ="goods")
public class GoodsBean extends GoodsBase{

    @Column(name = "shopid")
    public int shopid;//商家唯一标识Id

    @Column(name = "goodsid")
    public int goodsid;//商品唯一Id

    @Column(name = "shopname")
    public String shopname;//商家店名

    @Column(name = "goodsname")
    public String goodsname;//商品名

    @Column(name = "goodsprice")
    public String goodsprice;//商品价格

    @Column(name = "goodsnum")
    public String goodsnum;//商品数量

    @Column(name = "userid")
    public String userid;//用户userid

    @Column(name = "useraddress")
    public String useraddress;//用户地址



    public int getGoodsId() {
        return goodsid;
    }

    public void setGoodsId(int goodId) {
        this.goodsid = goodId;
    }

    public String getGoodsName() {
        return goodsname;
    }

    public void setGoodsName(String goodsName) {
        this.goodsname = goodsName;
    }

    public String getGoodsPrice() {
        return goodsprice;
    }

    public void setGoodsPrice(String goodsPrice) {
        this.goodsprice = goodsPrice;
    }

    public String getGoodsNum() {
        return goodsnum;
    }

    public void setGoodsNum(String goodsNum) {
        this.goodsnum = goodsNum;
    }

    public int getShopid() {
        return shopid;
    }

    public void setShopid(int shopid) {
        this.shopid = shopid;
    }

    public String getUserid() {
        return userid;
    }

    public void setUserid(String userid) {
        this.userid = userid;
    }


    public String getShopname() {
        return shopname;
    }

    public void setShopname(String shopname) {
        this.shopname = shopname;
    }

    public String getUseraddress() {
        return useraddress;
    }

    public void setUseraddress(String useraddress) {
        this.useraddress = useraddress;
    }

    @Override
    public String toString() {
        return "GoodsBean{" +
                "shopid=" + shopid +
                ", goodsid=" + goodsid +
                ", shopname='" + shopname + '\'' +
                ", goodsname='" + goodsname + '\'' +
                ", goodsprice='" + goodsprice + '\'' +
                ", goodsnum='" + goodsnum + '\'' +
                ", userid='" + userid + '\'' +
                ", useraddress='" + useraddress + '\'' +
                '}';
    }
}
